The generator matrix

 1  0  0  1  1  1  0  1  1  1  1  0  X  0  0  X  0
 0  1  0  1  0  1  1  0  X  1 X+1  1  1  0  1  1  0
 0  0  1  1  1  0  1  0  1 X+1  X  0  1  1  0  1  1
 0  0  0  X  0  0  0  0  0  X  0  X  X  X  0  0  X
 0  0  0  0  X  0  0  0  X  0  0  X  X  X  X  X  X
 0  0  0  0  0  X  0  0  0  0  X  X  X  X  X  0  0
 0  0  0  0  0  0  X  X  X  X  X  X  0  X  0  X  0

generates a code of length 17 over Z2[X]/(X^2) who�s minimum homogenous weight is 12.

Homogenous weight enumerator: w(x)=1x^0+95x^12+144x^14+305x^16+192x^18+222x^20+48x^22+14x^24+3x^28

The gray image is a linear code over GF(2) with n=34, k=10 and d=12.
As d=12 is an upper bound for linear (34,10,2)-codes, this code is optimal over Z2[X]/(X^2) for dimension 10.
This code was found by Heurico 1.16 in 0.018 seconds.